package com.biwin.module.authority.starter.repository;

import com.biwin.module.authority.domain.entity.Menu;
import com.biwin.module.orm.api.repository.IBwBasicRepository;

import java.util.Optional;

/**
 * TODO
 *
 * @author biwin
 * @since 0.0.1
 */
public interface IMenuRepository extends IBwBasicRepository<Menu, Long> {
    /**
     * 根据菜单名称获取菜单
     * @param menuName
     * @return
     */
    Optional<Menu> findByName(String menuName);

}
